package com.service;

import java.util.List;

import com.model.Train;

public interface TrainService {
	public void addTrain(Train train);
	public void deleteTrain(Train train);
	public void updateTrain(Train train);
	public Train getTrainById(int id);
	public List<Train> getTrainList(String hql);
}
